package cn.gcjxsc.service.common;

import cn.gcjxsc.entity.common.Bank;
import cn.gcjxsc.repository.common.BankRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author pumbaa
 * @since 1.0
 */
@Service
public class BankService {
    @Autowired
    private BankRepository bankRepository;

    public List<Bank> findAll(){
        return bankRepository.findAll();
    }
}
